home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
archiver
/
scrnc102.zip
/
TESTR.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-03-16
|
793b
|
31 lines
echo off
if %1x == x goto syntax
if not exist %1.txt goto error1
if not exist scrxr.stb goto error2
if not exist prtparm.com goto error3
copy scrxr.stb + %1.txt %1.bin
scrnch /o /e:%1.bin prtparm.com testexit.com
testexit
goto finish
:syntax
echo
echo Syntax
echo TESTR exitname
echo
echo This .BAT file allows you to test a Run Mode exit. The exit
echo will be created by appending exitname.TXT to the end of
echo SCRXR.STB. The result will be named exitname.BIN. SCRNCH is
echo used to add the exit to a program, then the program is called.
echo
goto finish
:error1
echo ERROR: file %1.TXT not found.
goto finish
:error2
echo ERROR: file SCRXR.STB not found.
goto finish
:error3
echo ERROR: file PRTPARM.COM not found
goto finish
:finish